package com.fdd.op.sdk.request.api;

import com.fdd.op.sdk.ApiRuleException;
import com.fdd.op.sdk.BaseFddRequest;
import com.fdd.op.sdk.constants.Constants;
import com.fdd.op.sdk.internal.mapping.RequestField;
import com.fdd.op.sdk.response.api.SealCancelForAPIResponse;

import java.util.Map;

public class SealCancelForAPIRequest extends BaseFddRequest<SealCancelForAPIResponse> {
    @Override
    public String getApiMethodName() {
        return "/seal/seal/api/sealCancelForAPI";
    }

    @Override
    public Map<String, Object> getTextParams() {
        return null;
    }

    @Override
    public Class<SealCancelForAPIResponse> getResponseClass() {
        return SealCancelForAPIResponse.class;
    }

    @Override
    public void check() throws ApiRuleException {

    }

    @Override
    public String getHttpMethod() {
        return Constants.METHOD_POST;
    }

    @RequestField
    private String sealId;

    public String getSealId() {
        return sealId;
    }

    public void setSealId(String sealId) {
        this.sealId = sealId;
    }
}
